You can pass the gestaltSoundAttr selector to the Gestalt function to determine information about the sound input capabilities of a Macintosh computer.
CONST
gestaltSoundAttr = 'snd '; {sound attributes selector}
The Gestalt function returns information by setting or clearing bits in the response parameter. The bits relevant to the Sound Input Manager are defined by constants:
CONST
gestaltSoundIOMgrPresent = 3; {sound input routines available}
gestaltBuiltInSoundInput = 4; {built-in input hw available}
gestaltHasSoundInputDevice = 5; {sound input device available}
gestaltPlayAndRecord = 6; {built-in hw can play while recording}
gestalt16BitSoundIO = 7; {built-in hw can handle 16-bit data}
gestaltStereoInput = 8; {built-in hw can record stereo sounds}
gestaltLineLevelInput = 9; {built-in input hw needs line level}
For complete information about the Gestalt function, see the chapter "Gestalt Manager" in Inside Macintosh: Operating System Utilities .
| Previous | Chapter contents | Chapter top | Section top | Next |